package com.huzz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huzz.entity.SysMenu;
import com.huzz.vo.MenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Name 名称
 * @Description 描述
 * @Author 童年的纸飞机
 * @Since 2023-04-2023/4/27 15:17
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {


    /**
     * 根据角色ids查询菜单树型列表
     * @param roleIdList
     * @return
     */
    List<MenuVO> findMenuListByRoleIds(@Param("roleIdList") List<Integer> roleIdList);

}
